package ThreadDemo04;

public class MyThreadNum extends Thread {
	printClass pc=new printClass();
	
	public MyThreadNum(printClass pc) {
		super();
		this.pc = pc;
	}

	@Override
	public void run() {
		pc.pringnum();
	}
	
	
}
